<html lang="en-US">

<head>
    <meta charset="UTF-8">
    <title>ueditor demo</title>
    <script src="http://markknol.github.io/console-log-viewer/console-log-viewer.js?align=bottom"></script>
</head>

<body>
<!-- 加载编辑器的容器 -->
<script id="container" name="content" type="text/plain">
        这里写你的初始化内容
    </script>
<!--<script type="text/javascript" src="/plugins/pubs/ueditor/ueditor.config.js"></script>-->
<!--<script type="text/javascript" src="/plugins/pubs/ueditor/ueditor.all.js"></script>-->

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>UMEDITOR 完整demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link href="/plugins/pubs/umeditor/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="/plugins/pubs/umeditor/third-party/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/plugins/pubs/umeditor/umeditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/plugins/pubs/umeditor/umeditor.min.js"></script>
<script type="text/javascript" src="/plugins/pubs/umeditor/lang/zh-cn/zh-cn.js"></script>

<!-- 实例化编辑器 -->
<script type="text/javascript">
    var ue = UM.getEditor('container',{
        autoHeight: false,
        toolbars : [ ['bold' ] ]
    });

    ue.ready(function () {
        console.log('ue ready2');
        ue.setContent('ready');
    })

</script>
</body>

</html>